﻿using System.Linq;
using System.Text;
using System.Diagnostics;
using System.Runtime.Serialization;
using System.Collections;
using System.Data;
using System.ComponentModel;
using System.Data.OracleClient;
using WPFExcelReport.Helpers;
using WPFExcelReport.Controls;
namespace WPFExcelReport
{
    public partial class VLAGPL
    {
        public void Insert(DataRow dwLG)
        {
            DeleteLAGPL(dwLG, 1);
            InsertLAGPL(dwLG, app.company);
            TBMain.Rows.InsertAt(dwLG, 0);
        }

    }
    public partial class VLAGPL
    {
        public string LPLO { get { if (dwMaster == null) return ""; return dwMaster["LPLO"].ToString(); } set { if (dwMaster == null) return; dwMaster["LPLO"] = value; OnPropertyChanged("LPLO", value); } } //lENGth 2
        public string LPLB { get { if (dwMaster == null) return ""; return dwMaster["LPLB"].ToString(); } set { if (dwMaster == null) return; dwMaster["LPLB"] = value; OnPropertyChanged("LPLB", value); } } //lENGth 2
        public string LPPLATZ { get { if (dwMaster == null) return ""; return dwMaster["LPPLATZ"].ToString(); } set { if (dwMaster == null) return; dwMaster["LPPLATZ"] = value; OnPropertyChanged("LPPLATZ", value); } } //lENGth 8
        public string LPKBEZ { get { if (dwMaster == null) return ""; return dwMaster["LPKBEZ"].ToString(); } set { if (dwMaster == null) return; dwMaster["LPKBEZ"] = value; OnPropertyChanged("LPKBEZ", value); } } //lENGth 16
        public string LPBEZ { get { if (dwMaster == null) return ""; return dwMaster["LPBEZ"].ToString(); } set { if (dwMaster == null) return; dwMaster["LPBEZ"] = value; OnPropertyChanged("LPBEZ", value); } } //lENGth 50
     }
}
